<template>
  <r-com :leftClass="'fj-left-height'" :rightClass="'fj-right-box'" :groupClass="'fj-group-height'">
    <template slot="top-bar">
      <li class="el-icon-s-promotion">课堂</li>
      <li class="button-group">
        <el-button>
          <i class="el-icon-refresh"></i>换一换
        </el-button>
        <el-button>
          更多
          <i class="el-icon-arrow-right"></i>
        </el-button>
      </li>
    </template>
    <template slot="video-slot">
      <a class="tg-vedio" href="#" v-for="item in 12" :key="item">
        <!-- 需要放一个鼠标聚焦后 播放截图的img -->
        <div class="video-fm">
          <el-image :src="require('../../assets/icon.jpg')" lazy></el-image>
          <p class="video-num">
            <span class="el-icon-video-play">33.6万</span>
          </p>
        </div>
        <a href="#" class="video-name a-link">缔结今日，我在火星上等你,嘻嘻111111</a>
        <p class="jishu">共5期</p>
      </a>
    </template>
    <template slot="right-area">
      <div class="tuijian">
        <h3>快来哔哩哔哩课堂上课啦！</h3>
        <el-image :src="require('../../assets/icon.jpg')"></el-image>
      </div>
    </template>
  </r-com>
</template>
<script>
import Rc from '../common/RowComponent'
export default {
  data() {
    return {}
  },
  components: {
    'r-com': Rc,
  },
}
</script>
<style scoped>
.el-tabs__nav-prev {
  display: none !important;
}
.video-name {
  display: inline-block;
  color: #000;
  width: 100%;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 5px 0 0;
  line-height: 20px;
}
.video-num {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: left;
  color: #fff;
  padding: 0 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}
.video-num::before {
  font-size: 15px;
  margin-right: 5px;
}
.button-group {
  float: right !important;
}
.el-button {
  height: 23px;
  font: 12px;
  background: none;
  outline: none;
  padding: 0px 7px;
  border: 1px solid #ccc;
  margin-right: 0px;
  text-align: center;
}
.el-icon-refresh {
  margin-right: 3px;
  font-size: 15px;
  transform: rotateZ(0deg);
  transition: all 0.5s;
}
.el-button:hover .el-icon-refresh {
  color: #999;
  transform: rotateZ(-360deg);
}
.video-num span {
  margin-right: 10px;
}
.video-num span::before {
  font-size: 15px;
  vertical-align: middle;
  margin-right: 1px;
}
.tuijian h3 {
  font-size: 20px;
  font-weight: 400;
  height: 50px;
}
.jishu {
  width: 100%;
  color: #999;
  height: 20px;
}
.tuijian .el-image {
  width: 320px;
  height: 314px;
}
@media screen and (max-width: 1450px) {
  .tg-vedio:nth-child(5) {
    margin-left: 0;
  }
}
</style>
